//
//  main.m
//  upnpxdemo
//
//  Created by haiyong on 13-8-25.
//  Copyright (c) 2013年 wiimu.inc. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "WISAppDelegate.h"
void handler_pipe(int sig)
{
    printf("1234");
}

int main(int argc, char *argv[])
{
    struct sigaction action;
    action.__sigaction_u.__sa_handler = handler_pipe;
    sigemptyset(&action.sa_mask);
    action.sa_flags = 0;
    sigaction(SIGPIPE, &action, NULL);
    
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([WISAppDelegate class]));
    }
}
